package com.xxx.demo.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 设备信息表
 * @Author: server-boot
 * @Date:   2020-07-21
 * @Version: V1.0
 */
@Data
@TableName("etms_wsunit")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="etms_wsunit对象", description="设备信息表")
public class Wsunit implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    /**设备代码*/
    @ApiModelProperty(value = "设备代码")
    private String untid;

    /**机构代码，对应pm_t_orgn表*/
    @ApiModelProperty(value = "机构代码，对应pm_t_orgn表")
    private String orgcode;

    /**设备名称*/
    @ApiModelProperty(value = "设备名称")
    private String untname;

    /**设备类型代码：对应dev_model表*/
    @ApiModelProperty(value = "设备类型代码：对应dev_model表")
    private String mdlid;

    /**安装地址*/
    @ApiModelProperty(value = "安装地址")
    private String installaddr;

    /**IP地址*/
    @ApiModelProperty(value = "IP地址")
    private String netaddr;

    /**开始营业日期*/
    @ApiModelProperty(value = "开始营业日期")
    private String begsrvdate;

    /**设备状态*/
    @ApiModelProperty(value = "设备状态")
    private String untstate;

    /**尾箱柜员号*/
    @ApiModelProperty(value = "尾箱柜员号")
    private String tellerid;
    /**银联区域码：banktype.unioncode+pm_t_orgn.regioncode*/
    @ApiModelProperty(value = "银联区域码：banktype.unioncode+pm_t_orgn.regioncode")
    private String areocode;
    /**设备安装点类型,对应dev_inst_pla_type表*/
    @ApiModelProperty(value = "设备安装点类型,对应dev_inst_pla_type表")
    private String installtype;
    /**功能区域ID,对应dev_funcarea表*/
    @ApiModelProperty(value = "功能区域ID,对应dev_funcarea表")
    private String funareaid;
    /**地理区域ID,对应dev_geographyarea表*/
    @ApiModelProperty(value = "地理区域ID,对应dev_geographyarea表")
    private String gepareaid;
    /**设备序列号*/
    @ApiModelProperty(value = "设备序列号")
    private String untsn;
    /**启用日期*/
    @ApiModelProperty(value = "启用日期")
    private String begusedate;
    /**设备管理员代码，对应user表*/
    @ApiModelProperty(value = "设备管理员代码，对应user表")
    private String userid;
    /**设备服务商id，对应dev_serv_provider*/
    @ApiModelProperty(value = "设备服务商id，对应dev_serv_provider")
    private String spid;
    /**安装方式：穿墙/大堂/壁挂*/
    @ApiModelProperty(value = "安装方式：穿墙/大堂/壁挂")
    private String insttype;
    /**设备类别，对应wsclass表，需要创建*/
    @ApiModelProperty(value = "设备类别，对应wsclass表，需要创建")
    private String classId;
    /**设备厂商代码，对应dev_manufacturer*/
    @ApiModelProperty(value = "设备厂商代码，对应dev_manufacturer")
    private String manufaid;
    /**是否24小时营业:1是0否*/
    @ApiModelProperty(value = "是否24小时营业:1是0否")
    private String is24hours;
    /**管理机构*/
    @ApiModelProperty(value = "管理机构")
    private String manageorg;
    /**吞卡处理机构*/
    @ApiModelProperty(value = "吞卡处理机构")
    private String cardorg;
    /**设备管理员2代码，对应user表*/
    @ApiModelProperty(value = "设备管理员2代码，对应user表")
    private String userid2;
    /**联社管理员代码，对应user表*/
    @ApiModelProperty(value = "联社管理员代码，对应user表")
    private String wsuserid;
    /**联社管理员2代码，对应user表*/
    @ApiModelProperty(value = "联社管理员2代码，对应user表")
    private String wsuserid2;
    /**邮编对应pm_t_orgn*/
    @ApiModelProperty(value = "邮编对应pm_t_orgn")
    private String zipCd;
    /**钞箱类型1循环钞箱0非循环*/
    @ApiModelProperty(value = "钞箱类型1循环钞箱0非循环")
    private String cashboxType;
    /**键盘加密类型0国际1国密*/
    @ApiModelProperty(value = "键盘加密类型0国际1国密")
    private String encryptionType;
    /**操作系统*/
    @ApiModelProperty(value = "操作系统")
    private String osVer;
    /**经度*/
    @ApiModelProperty(value = "经度")
    private String longitude;
    /**纬度*/
    @ApiModelProperty(value = "纬度")
    private String latitude;
    /**备注*/
    @ApiModelProperty(value = "备注")
    private String memo;
    /**市区ID*/
    @ApiModelProperty(value = "市区ID")
    private String zoneid;

    /**流程中*/
    @ApiModelProperty(value = "流程中")
    @TableField(exist = false)
    private String approvestate;

}

